﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<InvoiceInvoker.MvcUI.ViewModels.InvoicesViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Nowa faktura - InvoiceInvoker
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h3>Tworzysz nową fakturę</h3>

	<% Html.EnableClientValidation(); %>

    <% using (Html.BeginForm()) {%>

		<%: Html.EditorFor(model => model.Invoice, new { Customers = Model.Customers, PaymentTypes = Model.PaymentTypes }) %>
		<p>
	        <input type="submit" value="Stwórz" />
	    </p>

    <% } %>

</asp:Content>

